
let sysTheme = "light";

const THEMES = [{ label: '亮色', value: 'light' }, { label: '暗黑', value: 'dark' }];

function setTheme(theme) {
  if (!theme) return;
  document.body.setAttribute('cool-theme', theme);
}

export {
  sysTheme, THEMES, setTheme
}
